package com.jinzhi.jzweb.pojo.statistics;

/*
 *  @author : JingChangTian
 *  @date   : 2024/4/11 14:32
 *  @description :
 *
 */
import com.baomidou.mybatisplus.plugins.Page;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.jinzhi.api.config.CustomDoubleSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
public class StuResultsHeaderVo {


    public StuResultsHeaderVo() {
    }

    public StuResultsHeaderVo(Integer numberPepole, Double highestScore, Double lowestScore,Page stuResults) {
        this.numberPepole = numberPepole;
        this.highestScore = highestScore;
        this.lowestScore = lowestScore;
        this.stuResults = stuResults;
    }

    public StuResultsHeaderVo(Integer numberPepole, Double highestScore, Double lowestScore) {
        this.numberPepole = numberPepole;
        this.highestScore = highestScore;
        this.lowestScore = lowestScore;
    }

    @ApiModelProperty(value = "竞赛总人数")
    private Integer numberPepole;


    @ApiModelProperty(value = "最高分")
    @JsonSerialize(using = CustomDoubleSerializer.class)
    private Double highestScore;


    @ApiModelProperty(value = "最低分")
    @JsonSerialize(using = CustomDoubleSerializer.class)
    private Double lowestScore;

    @ApiModelProperty(value = "团队成绩信息")
    private Page stuResults;
}
